package UnOfficeDeTourisme;

/**
 * Interface definition : SGCatalogue
 * 
 * @author OpenORB Compiler
 */
public class SGCataloguePOATie extends SGCataloguePOA
{

    //
    // Private reference to implementation object
    //
    private SGCatalogueOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public SGCataloguePOATie(SGCatalogueOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public SGCataloguePOATie(SGCatalogueOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public SGCatalogueOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(SGCatalogueOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Operation creerCatalogue
     */
    public void creerCatalogue(UnOfficeDeTourisme.Catalogue cat)
    {
        _tie.creerCatalogue( cat);
    }

    /**
     * Operation consulterCat
     */
    public UnOfficeDeTourisme.Catalogue consulterCat(int idCatalogue)
    {
        return _tie.consulterCat( idCatalogue);
    }

    /**
     * Operation listerCat
     */
    public UnOfficeDeTourisme.Catalogue[] listerCat()
        throws UnOfficeDeTourisme.ListeVideException
    {
        return _tie.listerCat();
    }

    /**
     * Operation listerPresta
     */
    public UnOfficeDeTourisme.Prestation[] listerPresta(UnOfficeDeTourisme.Catalogue cat)
        throws UnOfficeDeTourisme.ListeVideException
    {
        return _tie.listerPresta( cat);
    }

}
